package io.renren.modules.jsf.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.jsf.dao.PrivatecoachinfoDao;
import io.renren.modules.jsf.entity.PrivatecoachinfoEntity;
import io.renren.modules.jsf.service.PrivatecoachinfoService;


@Service("privatecoachinfoService")
public class PrivatecoachinfoServiceImpl extends ServiceImpl<PrivatecoachinfoDao, PrivatecoachinfoEntity> implements PrivatecoachinfoService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PrivatecoachinfoEntity> page = this.page(
                new Query<PrivatecoachinfoEntity>().getPage(params),
                new QueryWrapper<PrivatecoachinfoEntity>()
        );

        return new PageUtils(page);
    }

}